home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / Koversiondialog.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-05-30  |  1.7 KB  |  69 lines

  1. /* This file is part of the KDE project
  2.    Copyright (C) 2005 Laurent Montel <montel@kde.org>
  3.  
  4.    This library is free software; you can redistribute it and/or
  5.    modify it under the terms of the GNU Library General Public
  6.    License as published by the Free Software Foundation; either
  7.    version 2 of the License, or (at your option) any later version.
  8.  
  9.    This library is distributed in the hope that it will be useful,
  10.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  12.    Library General Public License for more details.
  13.  
  14.    You should have received a copy of the GNU Library General Public License
  15.    along with this library; see the file COPYING.LIB.  If not, write to
  16.    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  17.  * Boston, MA 02110-1301, USA.
  18. */
  19.  
  20. #ifndef __VERSION_DIALOG__
  21. #define __VERSION_DIALOG__
  22.  
  23. #include <kdialogbase.h>
  24.  
  25. class QPushButton;
  26. class QToolButton;
  27. class KListView;
  28. class QMultiLineEdit;
  29.  
  30. class KoVersionDialog : public KDialogBase
  31. {
  32.     Q_OBJECT
  33. public:
  34.     KoVersionDialog(  QWidget* parent, const char* name = 0L );
  35.     ~KoVersionDialog();
  36.  
  37. public slots:
  38.     virtual void slotOk();
  39.     void slotRemove();
  40.     void slotAdd();
  41.     void slotOpen();
  42.     void slotModify();
  43.  
  44. protected:
  45.  
  46.     void init();
  47.     void updateButton();
  48.  
  49.     KListView * list;
  50.     QPushButton* m_pRemove;
  51.     QPushButton* m_pAdd;
  52.     QPushButton* m_pOpen;
  53.     QPushButton* m_pModify;
  54. };
  55.  
  56. class KoVersionModifyDialog : public KDialogBase
  57. {
  58.     Q_OBJECT
  59. public:
  60.     KoVersionModifyDialog(  QWidget* parent, const QString &_comment = QString::null , const char* name = 0L );
  61.  
  62.     QString comment() const;
  63.  
  64. private:
  65.     QMultiLineEdit *m_multiline;
  66. };
  67.  
  68. #endif
  69.